﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Website.login" MasterPageFile="~/frag.Master" %>
<%@ MasterType VirtualPath="~/frag.Master" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Frag! the online board game</title>
    <style type="text/css">
        .style1
        {
            width: 69px;
        }
        .style2
        {
            width: 207px;
        }
        .style3
        {
            width: 128px;
        }
    </style>
</head>
<body bgcolor="#AEAEFF">
    <form id="form1" runat="server" method="post">
    <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center">
    
    <img alt="title" src="images/title.jpg" style="width: 930px; height: 132px" /><br /> <br />
    <div>
        Please enter your credentials:
    
        <table class="style2" align="center">
            <tr>
                <td class="style1">
                    UserName</td>
                <td class="style3">
                    <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Username is required" Text="*" ControlToValidate="txtUserName"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Password</td>
                <td class="style3">
                    <asp:TextBox ID="txtPassword" TextMode="Password" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Password is required" Text="*" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
                </td>
            </tr>
            </table>
        <asp:Button ID="Confirm" runat="server" Text="Confirm" 
            onclick="Confirm_Click" />
    
        <br />
        <asp:Label ID="lblMessage" runat="server" ForeColor="Red" Text="Label" 
            Visible="False"></asp:Label>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server"  
            HeaderText="Please fix the following errors:" DisplayMode="BulletList"/>  
    
    </div>
    </asp:Panel>
    </form>
</body>
</html>
